package liu.zhi.peng;

import java.util.Random;
import java.util.Scanner;

public class demo15 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int seed = scanner.nextInt();
            Random random = new Random(seed);
            int num = random.nextInt(1,7);
            System.out.println(num);

        }
    }

    @Override
    public String toString() {
        return "demo15{}";
    }
}
